var a = `/remote/AsyncComponent/Async.umd.js`
const regex = /\/remote\/(\w+)/;
console.log(a.match(regex));